package com.victor.service;

import com.github.pagehelper.PageInfo;
import com.victor.entity.collection.CollectionFolder;

public interface CollectionfolderService {
	/**
	 * 添加文件夹
	 * @param collectionFolder
	 * @return
	 */
	boolean insertCollectionFolder(CollectionFolder collectionFolder);
	/**
	 * 删除文件夹
	 * @param ids
	 * @return
	 */
	boolean delCollectionFolder(int[] ids);
	/**
	 * 查询全部文件夹
	 * @param uid
	 * @param row 
	 * @param page 
	 * @return
	 */
	PageInfo<CollectionFolder> selAllFolder(String uid, int page, int row);
	/**
	 * 修改文件夹
	 * @param folder
	 * @return
	 */
	boolean updateFolder(CollectionFolder folder);

}
